<!DOCTYPE html>
<html>
<!-- Added by HTTrack --><meta http-equiv="content-type" content="text/html;charset=utf-8" /><!-- /Added by HTTrack -->
<head>
    <meta charset="utf-8">

    <title>{block name="title"}{/block}</title>
    <meta name="description" content="">
    <meta name="viewport" content="width=device-width">

    <link rel="shortcut icon" href="favicon.ico">
    <link rel="stylesheet" href="/static/home/css/grid.css">
    <link rel="stylesheet" href="/static/home/css/style.css">
    <link rel="stylesheet" href="/static/home/css/normalize.css">
    <link rel="stylesheet" href="/static/home/lib/iconfont/iconfont.css">
    <link rel="stylesheet" href="/static/home/lib/layui/css/layui.css">
    <!--<script src="/static/home/js/1.9.1/jquery.min.js"></script>-->


    <script src="/static/home/js/jquery.min.js"></script>
    <!--<script>window.jQuery || document.write('<script src="js/jquery-1.8.3.min.js"><\/script>')</script>-->
    <script src="/static/home/js/html5.js"></script>
    <script src="/static/home/js/main.js"></script>
    <script src="/static/home/js/radio.js"></script>
    <script src="/static/home/js/checkbox.js"></script>
    <script src="/static/home/js/selectBox.js"></script>
    <script src="/static/home/js/jquery.carouFredSel-5.2.2-packed.js"></script>
    <script src="/static/home/js/jquery.jqzoom-core.js"></script>
    <script src="/static/home/js/jquery.transit.js"></script>
    <script src="/static/home/js/jquery.easing.1.2.js"></script>
    <script src="/static/home/js/jquery.anythingslider.js"></script>
    <script src="/static/home/js/jquery.anythingslider.fx.js"></script>
    <script src="/static/home/lib/layui/layui.js"></script>

</head>
<body>
<div id="top">
    <div class="container_12">
        <div class="grid_3">
            <div class="lang">
                <ul>
                    <li class="current"><a href="#">EN</a></li>
                    <li><a href="#">FR</a></li>
                    <li><a href="#">GM</a></li>
                </ul>
            </div><!-- .lang -->

            <div class="currency">
                <ul>
                    <li class="current"><a href="#">$</a></li>
                    <li><a href="#">&#8364;</a></li>
                    <li><a href="#">&#163;</a></li>
                </ul>
            </div><!-- .currency -->
        </div><!-- .grid_3 -->
        <div class="grid_9">
            <nav>
                <ul>

                    {if $Think.cookie.userinfo['user_name']}
                    <li class="current"><a href="#"> {$Think.cookie.userinfo['user_name']}</a></li>
                    <!--<li class="current"><a href="#">我的账号</a></li>-->
                    {elseif $Think.session.userinfo['user_name']}
                    <li class="current"><a href="#"> {$Think.session.userinfo['user_name']}</a></li>
                    <!--<li class="current"><a href="#">我的账号</a></li>-->
                    <li><a href="{:url('/collections/index')}">我的收藏</a></li>
                    <li><a href="{:url('/gives/index')}">我点赞商品</a></li>
                    <li><a href="{:url('/orders/index')}">我的订单</a></li>
                    <li><a href="{:url('/personal/index')}">个人信息</a></li>
                    <li><a href="{:url('/home/login/logout')}">退出</a></li>
                    {else}
                    <li><a href="{:url('/home/login/index')}">登录</a></li>
                    <li><a href="{:url('/home/login/create')}">注册</a></li>
                    {/if}
                </ul>
            </nav>
        </div><!-- .grid_9 -->
    </div>
</div><!-- #top -->

<header>
    <div class="container_12">
        <div class="grid_3">
            <hgroup style="margin-left: 13px">
                <h1 id="site_logo"><a href="index.html" title=""><img src="/static/home/img/logo.png" alt="Online Store Theme Logo"></a></h1>
            </hgroup>
        </div><!-- .grid_3 -->

        <div class="grid_9">
            <div class="top_header">
                <ul id="cart_nav">
                    <li>
                        <a class="cart_li" href="{:url('/cart/index')}">
                            <div class="cart_ico"></div>
                            <span>查看购物车</span>
                        </a>
                    </li>
                </ul><!-- .cart_nav -->

                <form class="search" action="{:url('/index/search')}" method="post">
                    <input type="submit" class="search_button" value="" style="margin-left: 400px">
                    <input type="text" name="search" class="search_form" value="" placeholder="搜索所有商品" style="width: 400px">
                </form><!-- .search -->
            </div><!-- .top_header -->


        </div><!-- .grid_9 -->
    </div>
</header>
<div style="height: 50px;">
    <div style=" width:1008px; height:45px; margin: 0 auto;">
        <div style="width:180px; height: 45px; background:#c11f20; text-align: center; float:left; margin-left: 10px;">
            <a style="width:180px; height: 45px; color: #fff;font-size: 24px; font-family: 微软雅黑; text-decoration: none; line-height:40px;">私人定制</a>
        </div>
        <div style="width:808px; height: 50px; text-align: center; float:right;">
            <nav class="primary">
                <ul>
                    <li class="curent"><a href="/">首页</a></li>
                    {foreach $cate as $val}
                    <li class="parent">
                        <a href="/lists/index/id/{$val['id']}">{$val['catname']}</a>
                        <ul class="sub">
                            {if(!empty($val['shop']))}
                            {foreach $val['shop'] as $v}
                            <li><a href="/lists/index/id/{$v['id']}">{$v['catname']}</a></li>
                            {/foreach}
                            {/if}
                        </ul>
                    </li>
                    {/foreach}
                </ul>
            </nav><!-- .primary -->
        </div>
        <div class="clear"></div>
    </div>
</div>
</body>
</html>